package com.dw.feign;

import com.dw.fallback.ProductFeignFallBack;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "product-module",path = "/product",fallback = ProductFeignFallBack.class)
public interface ProductFeign {

    @GetMapping("/reduceProduct")
    public int reduceProduct();
}
